package cn.com.byte1024.service;

import cn.com.byte1024.entity.Vote;

import java.util.List;

public interface VoteService {
    List<Vote> selectAllVoteByVoteProjectId(String voteProjectId);

    int insertSelective(Vote vote,String voteProjectId);

    boolean deleteVote(String voteProjectId,String voteId,String userId);

    Vote selectByPrimaryKey(String voteId);

    int updateByPrimaryKeySelective(Vote record);

    String voteAdd(String voteProjectId,String voteId,String userId);
}
